#pragma once 

#include "Core\NervusSharedHeader.h"

namespace Nervus {
	namespace Render {

		struct SpriteVertex {
			f32 x, y, z;
			f32 rhw;
			DWORD color;
			f32 tu, tv;
		};

		class Sprite {
			friend class D3D9RenderSystem;

		private:			

		protected:					
			//For 2D-rendering
			u32 mPosX, mPosY;
			//For 2D-rendering
			u32 mWidth, mHeight;
			
			Texture* mTextureFile;


			Sprite();
			virtual ~Sprite();

		public:
			virtual bool loadSprite() = 0;
			virtual void renderSprite() = 0;
		};
	}
}